import AxiosHttp from "../utlis/http";
let sendUserCode  = (data)=>AxiosHttp('/api/front/sendCode','post',data,{
    'content-type':'application/x-www-form-urlencoded'
})

let userLogin = (data)=>AxiosHttp('/api/front/login/mobile','post',data)
// 收藏商品
let userClolet = (data)=>AxiosHttp(`/api/front/collect/add`,'post',data);
//取消收藏
let RemoveClolet = (id)=>AxiosHttp(`/api/front/collect/cancel/${id}`,'post')
export {
    sendUserCode,
    userLogin,
    userClolet,
    RemoveClolet
}